package com.lh.tams.domain;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lh.tams.util.diy.CustomDateSerializer;

/**
 * TamsSimple entity. @author MyEclipse Persistence Tools
 */

public class TamsSimple implements java.io.Serializable {

	// Fields

	private long idBgt;
	private String caseNo;
	private Date createDate;
	/** 事故认定 */
	private int isConfirm;
	/** 事故调节 */
	private int isDeal;
	/** 简易记录 */
	private int isRecord;
	private String remark;

	// Constructors

	/** default constructor */
	public TamsSimple() {
	}

	/** minimal constructor */
	public TamsSimple(long idBgt) {
		this.idBgt = idBgt;
	}

	/** full constructor */
	public TamsSimple(long idBgt,String caseNo,
			Date createDate, int isConfirm, int isDeal,
			int isRecord, String remark) {
		this.idBgt = idBgt;
		this.caseNo = caseNo;
		this.createDate = createDate;
		this.isConfirm = isConfirm;
		this.isDeal = isDeal;
		this.isRecord = isRecord;
		this.remark = remark;
	}

	// Property accessors

	public long getIdBgt() {
		return this.idBgt;
	}

	public void setIdBgt(long idBgt) {
		this.idBgt = idBgt;
	}


	public String getCaseNo() {
		return caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}
	
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public int getIsConfirm() {
		return this.isConfirm;
	}

	public void setIsConfirm(int isConfirm) {
		this.isConfirm = isConfirm;
	}

	public int getIsDeal() {
		return this.isDeal;
	}

	public void setIsDeal(int isDeal) {
		this.isDeal = isDeal;
	}

	public int getIsRecord() {
		return this.isRecord;
	}

	public void setIsRecord(int isRecord) {
		this.isRecord = isRecord;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}